um\core\Access D

Total Complexity 454
Dependencies 2
Dependents 1
Total lines 2,346
Lines of code 1,384
Logical lines of code 872
Comment lines 625
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
get_post_privacy_settings()
D
30 39 110
exclude_posts_array()
D
26
33 160
filter_protected_posts()
D
34 36 79
is_restricted()
C
37 31 74
restrict_blocks()
C
38 28 69
is_restricted_term()
C
37 27 74
um_access_check_global_settings()
C
36 25 73
exclude_terms_array()
B
40 16 59
filter_menu()
A
46 16 39
um_access_check_individual_term_settings()
A
44 15 40
exclude_posts()
A
49 14 28
template_redirect()
A
49 13 32
get_comment_count()
A
41 10 63
custom_count_posts_handler()
A
45 11 38
um_access_check_blog_page_settings()
A
49 10 27
exclude_posts_comments()
A
52 10 25
filter_restricted_post_content()
A
51 10 25
filter_post_thumbnail()
A
54 9 22
get_available_comments_post_types()
A
48 8 34
filter_restricted_post_title()
S
54 7 23
exclude_posts_where()
S
56 7 17
custom_comments_count_handler()
S
54 6 21
filter_restricted_post_excerpt()
S
58 6 16
maybe_replace_title()
S
57 5 18
maybe_replace_nav_menu_title()
S
57 5 18
disable_comments_open()
S
59 5 16
user_can()
S
61 5 12
disable_comments_open_number()
S
59 4 16
exclude_hidden_terms_query()
S
64 5 9
send_frame_options_header()
S
68 5 8
exclude_navigation_posts()
S
59 4 14
exclude_restricted_posts_archives_widget()
S
60 4 12
exclude_restricted_posts_widget()
S
62 4 11
filter_attachment()
S
70 4 6
exclude_posts_comments_feed()
S
62 3 11
initialize_hooks()
S
51 2 25
check_access()
S
65 3 10
exclude_restricted_pages()
S
64 3 10
__construct()
S
52 1 23
set_referer()
S
67 2 8
taxonomy_message()
S
80 1 3
blog_message()
S
80 1 3
um_custom_restriction()
S
79 1 3